package com.guigu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.pojo.Cart;

import java.util.List;

/**
 * <p>
 * 购物车表 服务类
 * </p>
 *
 * @author Mr.Zhang
 * @since 2025-03-12
 */
public interface CartService extends IService<Cart> {

    List<Cart> getCartByConsumerId(Integer consumerId);

    boolean addToCart(Cart cart);
}
